// 给类型起名字

type NumAndStrArr = (number | string)[];
type NumAndStrArr2 = Array<number | string>;

let arr: NumAndStrArr = [1, 'a'];
let arr2: NumAndStrArr2 = [1, 'b'];

export {};
